package com.culture.config.dao.entity;

import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Accessors(chain=true)
@NoArgsConstructor
public class UserMenu  implements Serializable{
	/**
	 * serial Version UID
	 */
	private static final long serialVersionUID = 1035163710308318408L;
	Long id;
	Long userId;
	Long menuId;
	String menuCode;
	String menuName;
	String menuPath;
	String menuParams;
	String menuIco;
	Integer level;
	Integer sortIndex;	
	Integer isLeaf;
	Long parentId;
	List<UserMenu> menuList;
	
	public UserMenu(Long userId) {
		this.userId = userId;
	}  
	
	public UserMenu(Long userId,Long menuId) {
		this.userId = userId;		
		this.menuId = menuId;
	}
}
